package com.example.mybatisdemo.demos.web.service;

import com.example.mybatisdemo.demos.web.mapper.UserInfoMapper;
import com.example.mybatisdemo.demos.web.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author Q
 * @create 2025-06-06-10:52
 */
@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public List<UserInfo> queryUserInfos() {
        return userInfoMapper.queryUserInfos();
    }
}
